<template>
<div>
    <h1>消息订阅与发布同样可以实现各组件之间的通信</h1>
    <h1>消息与订阅需要一些第三方库，这里推荐pubsub-js,用起来很方便，我懒得记了</h1>
<hr/>
<School></School>
<hr />
<Student></Student>
</div>
</template>

<script>
import School from './components/School.vue'
import Student from './components/Student.vue'
export default {
    name:'App',
    components:{
        School,
        Student
    }
}
</script>


<style>

</style>